<form name="form" method="post" enctype="multipart/form-data" action="<?php p($action) ?>">

<?php
   $form->sesskey = sesskey();

   // Pass variables through
   foreach ($form as $assname => $assvalue) {
       echo '<input type="hidden" name="'.$assname.'" value="'.s($assvalue).'" />'."\n";
   }

?>
